package com.xxl.job.executor.structure;

import java.util.ArrayList;

public class MaxInWindow {
    public static int[] getMaxInWindows(int[] arr, int w){
        if(arr.length < w){
            throw new RuntimeException("wrong arguments,please check");
        }
        // result to return
        int[] resultArr = new int[arr.length-w+1];
        ArrayList arrayList = new ArrayList(arr.length);
        return null;
    }
}
